const Base = require('./base.js');

module.exports = class extends Base {
    indexAction() {
        return this.success({
                logs: [{
                    version: '0.1',
                    currentTarget: '初始化项目结构'
                }, {
                    version: '0.2',
                    currentTarget: '建立开发分支',
                }, {
                    version: '0.3',
                    currentTarget: '测试自动部署',
                }, {
                    version: '0.4',
                    currentTarget: '第二次测试自动部署',
                }, {
                    version: '0.5',
                    currentTarget: '第三次测试自动部署',
                }, {
                    version: '0.6',
                    currentTarget: '升级配置后再次测试部署',
                }, {
                    version: '0.7',
                    currentTarget: 'DaoCloud自动构建任务',
                }],
                desc: '有趣的挑战(实现自动化部署，持续集成)',
                tag: 'challenge'
            }
        );
    }
};
